//
// SDL2pp tutorial
//
// Written in 2015 by Dmitry Marakasiv <amdmi3@amdmi3.ru>
//
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warranty.
//
// You should have received a copy of the CC0 Public Domain Dedication along with
// this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
//

//
// Lesson 00:
//
// - Initialize SDL library
// - Create window
// - Load image from file
// - Display it in a window
//

// import sdl2pp;
import cpu6502;

#include <iostream>
#include <exception>
// #include <SDL2/SDL.h>

int main()
{
    nes8::CPU6502 l;
    nes8::memory m;
    l.register_reset();
    // l.load_byte6502(m);
    execute_instruction<nes8::LDA, nes8::Immediate>(l.reg,m);
     return 0;
}
